function check_date(beginTime,endTime) {
	if(beginTime < endTime && decide_date(beginTime,endTime) <= 25) {
		return true
	}
	return false
}

function decide_date(beginTime,endTime) {
	var begintime_ms = new Date(beginTime.replace(/-/g, "/")); //begintime 为开始时间  
	var endtime_ms = new Date(endTime.replace(/-/g, "/"));
	var date3=endtime_ms.getTime()-begintime_ms.getTime()  //时间差的毫秒数
	var hours=Math.floor(date3/(3600*1000))
	return hours
}